package com.example.neusoft215gdh.androidpro_21.Adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.neusoft215gdh.androidpro_21.R;

/**
 * Created by Rainbow on 2017/11/12.
 */

public class OrderViewHolder extends RecyclerView.ViewHolder {
    public TextView order_number,order_name,order_time,order_price,order_sumprice;
    public ImageView order_pic;


    public View itemView;//添加点击的监听器用。
    public OrderViewHolder(View itemView) {

        super(itemView);

        this.itemView=itemView;

        order_name= (TextView) itemView.findViewById(R.id.order_name);
        order_number= (TextView) itemView.findViewById(R.id.order_number);
        order_time= (TextView) itemView.findViewById(R.id.order_time);
        order_price= (TextView) itemView.findViewById(R.id.order_price);
        order_sumprice= (TextView) itemView.findViewById(R.id.order_sumprice);
        order_pic= (ImageView) itemView.findViewById(R.id.order_pic);



    }
}
